<extend name="Public:base"/>
<block name="css">
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/bootstrap-iconpicker.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Admin/iCheck/all.css"/>
</block>

<block name="content">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <include file="Partials:errors"/>
        <include file="Partials:success"/>
        <section class="content">
            <!-- general form elements -->
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">添加用户组</h3>
                </div>
                <!-- /.box-header -->
                <!-- form start -->
                <form role="form" method="POST" action="/admin/role/store">
                    <include file="_form"/>
                    <div class="box-footer">
                        <button type="submit" class="btn btn-primary">Submit</button>
                    </div>
                </form>
            </div>
            <!-- /.box -->
        </section>
    </div>
</block>

<block name="js">
    <script type="text/javascript" src="__PUBLIC__/Admin/js/iconset-fontawesome-4.3.0.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/bootstrap-iconpicker.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/icheck/iCheck.min.js"></script>
    <script>
        $(function () {
            //Flat red color scheme for iCheck
            $('input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
                checkboxClass: 'icheckbox_flat-green',
                radioClass   : 'iradio_flat-green'
            })
        })
    </script>
</block>